$cfff: #fff;
$c101010: #101010;
$cdfe2e9: #dfe2e9;
$c333: #333;

.main_box {
    padding: 0 15px 15px 15px;
    background-color: $cfff;

    .title {
        display: inline-block;
        width: 100px;
        padding-top: 15px;
        font-size: 16px;
        position: absolute;
        padding-left: 8px;

        &::before {
            content: '';
            width: 3px;
            background-color: #2aa8e1;
            position: absolute;
            top: 17px;
            left: 0;
            height: 17px;
        }
    }

    .main {
        background-color: $cfff;
        margin-left: 100px;

        .main_up {
            .el-col {
                margin-top: 20px;

                &:nth-child(n + 3) {
                    margin-top: 0;
                }
            }
        }
    }

    .pie {
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        // background-color: #dddddd;
        margin-right: 12px;
        position: relative;
        box-sizing: border-box;

        >i {
            position: absolute;
            top: 2px;
            left: 2px;
        }

        // active0 绿色   active1 红色 active2灰色 

        &.active0 {
            // 开
            background-color: #67c23a;
        }

        &.active1 {
            // 关
            background-color: #f56c6c;
        }

        &.active2 {
            // 灰色
            background-color: #dddddd;
        }
    }

    .list {
        .listMain {
            border: 1px solid #ebeef5;
        }

        .header {
            padding: 9px 15px 8px;
            border-bottom: 1px solid #ebeef5;

            .el-form-item {
                margin-bottom: 0;
            }
        }

        .el-form {
            &:last-child {
                padding: 20px 0;
                overflow: hidden;
                min-height: 300px;

                .el-form-item {
                    width: 100%;
                }
            }
        }
    }
}

::v-deep .el-input.is-disabled .el-input__inner {
    color: $c333;
}

::v-deep .el-input-group__append {
    background-color: #e8f3ff;
    border: 1px solid #c2dfff;
    color: #1989fa;

    &:hover {
        background-color: #1989fa;
        border: 1px solid #1989fa;
        color: #fbfbfb;
    }

    &.is-disabled:hover {
        background-color: #e8f3ff;
        border: 1px solid #c2dfff;
        color: #1989fa;
    }
}

::v-deep .input_width {
    .el-form-item__content {
        width: 200px;
    }
}

::v-deep .notAllowed {

    .el-button.is-disabled,
    .el-button.is-disabled:focus,
    .el-button.is-disabled:hover {
        background-color: #e8f3ff;
        border: 0;
        color: #1989fa;
    }

    .el-input-group__append:hover {
        background-color: #e8f3ff;
        border: 1px solid #c2dfff;
    }
}

.visibility {
    visibility: hidden;
}

::v-deep.onAndOffDetails {
    .el-form-item__content {
        max-width: 300px;
        position: relative;
    }
}

.onAndOffDetails {
    .inlineBlock {
        display: inline-block;
    }

    .el-col {
        padding-left: 0 !important;
        padding-right: 0 !important;

        .el-input {
            width: 80%;
        }
    }

    .el-button {
        margin-left: 5px;
        height: 36px;
        padding: 0 20px;
        line-height: normal;
        background-color: #e8f3ff;
        border: 1px solid #c2dfff;
        color: #1989fa;

        &:hover {
            background-color: #1989fa;
            border: 1px solid #1989fa;
            color: #fbfbfb;
        }
    }

    .spacer {
        padding: 0 5px;
    }
}